<template>
  <div id="app">
    <img src="./assets/logo.png">
    <div class="mui-switch mui-active">
      <div class="mui-switch-handle"></div>
    </div>
    <ul class="mui-table-view">
      <li class="mui-table-view-cell">
        Item 1
        <span class="mui-badge mui-badge-primary">11</span>
      </li>
      <li class="mui-table-view-cell">
        Item 2
        <span class="mui-badge mui-badge-success">22</span>
      </li>
      <li class="mui-table-view-cell">
        Item 3
        <span class="mui-badge">33</span>
      </li>
    </ul>
    <!-- 登录 -->
    <form class="mui-input-group">
      <div class="mui-input-row">
        <label>用户名</label>
        <input type="text" class="mui-input-clear" placeholder="请输入用户名">
      </div>
      <div class="mui-input-row">
        <label>密码</label>
        <input type="password" class="mui-input-password" placeholder="请输入密码">
      </div>
      <div class="mui-button-row">
        <button type="button" class="mui-btn mui-btn-primary">确认</button>
        <button type="button" class="mui-btn mui-btn-danger">取消</button>
      </div>
    </form>
  </div>
</template>

<script>
/* eslint-disable */
import HelloWorld from "./components/HelloWorld";

export default {
  name: "App",
  data() {
    return {
      obj: [{ id: 1, name: "首页" }, { id: 2, name: "列表" }],
      num: 1
    };
  },
  components: {
    HelloWorld
  },
  created() {
    mui.ready(function() {
      mui.init({});
    });
  }
};
</script>

<style>
* {
  touch-action: pan-y;
  padding: 0;
}
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
